package com.lagou.edu.service;


import java.util.Date;


public interface UserService {

    Date getExpireTimeByEmailAndCode(String email, String code);


    boolean getIsRegisteredByEmail(String email);

    void saveTokenByEmail(String email, String token);

    String getEmailInfoByToken(String token);
}
